package com.tdkj.model.user;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyUserExperience entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xnky_user_experience")
public class BeanUserExperience extends BaseEntity{

	// Fields
	private String experiencetype;
	private String actionname;
	private String actioncode;
	private Long point;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public BeanUserExperience() {
	}

	/** minimal constructor */
	public BeanUserExperience(long id) {
		this.setId(id);
	}

	/** full constructor */
	public BeanUserExperience(long id,String experiencetype, String actionname,
			String actioncode, Long point, Timestamp createtime) {
		this.setId(id);
		this.experiencetype = experiencetype;
		this.actionname = actionname;
		this.actioncode = actioncode;
		this.point = point;
		this.createtime = createtime;
	}

	@Column(name = "experiencetype", length = 40)
	public String getExperiencetype() {
		return this.experiencetype;
	}

	public void setExperiencetype(String experiencetype) {
		this.experiencetype = experiencetype;
	}

	@Column(name = "actionname", length = 40)
	public String getActionname() {
		return this.actionname;
	}

	public void setActionname(String actionname) {
		this.actionname = actionname;
	}

	@Column(name = "actioncode", length = 40)
	public String getActioncode() {
		return this.actioncode;
	}

	public void setActioncode(String actioncode) {
		this.actioncode = actioncode;
	}

	@Column(name = "point", precision = 10, scale = 0)
	public Long getPoint() {
		return this.point;
	}

	public void setPoint(Long point) {
		this.point = point;
	}

	@Column(name = "createtime", nullable = false, length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}